export default [
  {
    url: '/mock/api/add',
    method: 'post',
    timeout: 1000,
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: null
      };
    }
  },
  {
    url: '/mock/api/page',
    method: 'post',
    timeout: 1000,
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: {
          records: [
            {
              id: 1,
              name: '管理员',
              apiToken: '12121',
              apiUrl: 'www.baidu.com',
              apiType: 'wqewqewq',
              createTime: '2024-12-02 10:57:02',
              status: '1',
              valid: 1
            },
            {
              id: 2,
              name: '测试',
              apiToken: null,
              apiUrl: null,
              apiType: null,
              createTime: '2024-12-02 15:21:49',
              status: '1',
              valid: 1
            },
            {
              id: 3,
              name: 'c角色',
              apiToken: null,
              apiUrl: null,
              apiType: null,
              createTime: '2024-12-23 17:41:40',
              status: '1',
              valid: 1
            }
          ],
          total: 3,
          size: 20,
          current: 1,
          pages: 1
        }
      };
    }
  }
];
